obj-m := e2pfs.o
EXTRA_DIR1:=/home/zoro/mnt/code/linux/RV1126/rv1126_21_04_30/
EXTRA_DIR2:=prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/
CROSS_COMPILE:=${EXTRA_DIR1}${EXTRA_DIR2}arm-linux-gnueabihf-
KERNEL_SRC:=${EXTRA_DIR1}kernel
CC:=$(CROSS_COMPILE)gcc
LD:=$(CROSS_COMPILE)ld
all:
	make -C $(KERNEL_SRC) SUBDIRS=$(PWD) modules ARCH=arm
clean:
	rm *.ko *.mod* *.symvers *.order *.o
